import request from "@/utils/request.js";

export function getIndexData(data) {
  return request.get("/api/index/index", data, { noAuth: true });
}
export function getarealist(data) {
  return request.get("/api/index/arealist", data, { noAuth: true });
}
export function getyunyingshanglist(data) {
  return request.get("/api/index/yunyingshang", data, { noAuth: true });
}
export function getdatalist(data) {
  return request.post("/api/index/taocan", data, { noAuth: true });
}
// 故障
export function getquestlist(data) {
  return request.post("/api/index/wenti", data, { noAuth: true });
}
export function addDengji(data) {
  return request.post("/api/index/dengji", data);
}
export function noticeList(data) {
  return request.post("/api/index/notice", data, { noAuth: true });
}
export function getcontent(data) {
  return request.post("/api/index/content", data, { noAuth: true });
}
export function awayOrder(data) {
  return request.post("/api/index/suborder", data);
}

export function getDetail(data) {
  return request.post("/api/index/detail", data, { noAuth: true });
}
export function getquList(data) {
  return request.post("/api/index/qu", data, { noAuth: true });
}
export function getjiedaoList(data) {
  return request.post("/api/index/jiedao", data, { noAuth: true });
}
export function getcunList(data) {
  return request.post("/api/index/cun", data, { noAuth: true });
}
export function setName(data) {
  return request.post("/api/user/profile", data, { noAuth: true });
}
export function getMsg(data) {
  return request.post("/api/user/index", data);
}
export function isShowCheck(data) {
  return request.post("/api/index/check", data, { noAuth: true });
}
// 获取公众号图片

export function getqrcodeImg(data) {
  return request.post("/api/user/qrcode", data);
}
